﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Xml.Serialization;

namespace BDSim
{
    /// <summary>
    /// 仿真段基类
    /// </summary>
    public class SegmentBase : BDSimObject
    {
        #region 仿真段公共属性
        private ESegmentType _Type;

        [Browsable(false),XmlAttribute]
        public ESegmentType Type
        {
            get { return _Type; }
            set { _Type = value; NotifyPropertyChanged("Type"); }
        }
        [XmlAttribute, Category("基本信息"), Description("")]
        public string Name
        {
            get { return _Name; }
            set { _Name = value; NotifyPropertyChanged("Name"); }
        }

        Scenario _Parent;
        [XmlIgnore,Browsable(false)]
        public Scenario Parent
        {
            get { return _Parent; }
            set { _Parent = value; }
        }
        #endregion

        #region 仿真段公共方法
        #endregion

    }
}
